<%@taglib uri="http://jakarta.apache.org/struts/tags-html" prefix="html"%>
<%@taglib uri="http://jakarta.apache.org/struts/tags-bean" prefix="bean"%>
<%@ page language="java" contentType="text/html; charset=UTF-8"
   pageEncoding="UTF-8"%>
<script type="text/javascript" src="js/checkLogin.js" ></script>


	<h2>Rejestracja:</h2><br>
	<html:form action="registration">
	<table>
		<tr>
		<td><p>Email:</td> <td><input id="email" name="email" type="text" onblur="check()" /></td><td><p id="info"></p></td>
		
		</tr>
		
		<tr>
		<td><p>Haslo:</td> <td><input id="password" name="password" type="password" /></td> 
		</tr>
		
		<tr>
		<td><p>Potwierdź hasło:</td> <td><input id="confirmPassword" name="confirmPassword" type="password" /></td> 
		</tr>
		
		<tr>
		<td><p>Imię:</td> <td><input id="name" name="name" type="text"/></td> 
		</tr>
		
		<tr>
		<td><p>Nazwisko:</td> <td><input id="surname" name="surname" type="text"/></td> 
		</tr>
		
		<tr>
		<td><p>Adres:</td> <td><input id="address" name="address" type="text"/></td> 
		</tr>
		
		<tr>
		<td><p>Pesel:</td> <td><input id="pesel" name="pesel" type="text" value="0"/></td> 
		</tr>
		
		</table> <br>
		<input type="submit" class='submit' id="submit" value="Zarejestruj"><br>
		<font color="red"><html:errors property="registerError" /></font>
		</html:form>
